#pragma once

struct SDL_mutex;

class ICriticalSection
{
public:
	ICriticalSection(uint i);
	virtual ~ICriticalSection();

	void Lock(uint m) const;
	void Unlock(uint m) const;

private:
	uchar m_sectionsCount;
	SDL_mutex** m_mutexes;
};